import {IHJNewSchema} from "@/views/createTemplate/types/IHJNewSchema";

interface IInterviewInfo {
    id: number
    status: string
    startTime: Date
    Settings: ISettingInterview
    Messages: Array<IMessage>
}

interface ISettingInterview {
    resumeId: number
    company: string
    post: string
    requirement: string
    interviewType: undefined | '能力面试' | '项目面试' | '综合面试' | '技术面试' | 'HR面试'
    cameraPermit: boolean
    cameraChoice: any
    microphonePermit: boolean
    microphoneChoice: any
    generateReport: boolean
    reportName: string
    model_choice: 'universal' | 'hoyo'
    voice_speed: number
    hoyo_model_name: string
    universal_speaker_name: string
    minDialogueRounds: number
}

interface IMessage {
    id: number, //须与自己的下标一致
    type: boolean,//true为AI ，false为用户
    content: string
    referenceId: number,
    audio_url: any,
    hideContent: boolean,
    showAsMarkdown: boolean,
    again: boolean,
    time: Date,
}

export {IInterviewInfo, ISettingInterview, IMessage}